﻿<Window x:Class="WpfTestApplication.ListGridViewTestWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:System="clr-namespace:System;assembly=mscorlib"
    xmlns:WpfTestApplication="clr-namespace:WpfTestApplication"
    Title="ListGridViewTestWindow" Height="473" Width="519" DataContext="{Binding RelativeSource={RelativeSource Self}}">
    <Grid>
        <Label Height="28" Margin="12,12,0,0" Name="label3" VerticalAlignment="Top" HorizontalAlignment="Left" Width="120">Grid ListView</Label>
        <ListView Margin="12,46,12,0" Name="listViewGrid" Height="88" VerticalAlignment="Top" ItemsSource="{Binding GameCollection}" SelectionMode="Single">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="140" Header="Game Name" DisplayMemberBinding="{Binding GameName}"  />
                    <GridViewColumn Width="140" Header="Creator" DisplayMemberBinding="{Binding Creator}" />
                    <GridViewColumn Width="140" Header="Publisher" DisplayMemberBinding="{Binding Publisher}" />
                </GridView>
            </ListView.View>
        </ListView>
    </Grid>
</Window>
